﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Xml.Serialization;
using System.Windows.Media;
using System.Data.Linq.Mapping;


namespace OnlineVideos.Data
{
    [SQLite.Table("GameMissions"), ConditionType("GameMission", "DeleteCondition")]
    public class GameMissions
    {
       [SQLite.PrimaryKey,SQLite.AutoIncrement, ConditionType("ID", "DoNotInsert")]
        public int ID
        {
            get;
            set;
        }
       [SQLite.Column("MissionID")]
        public int MissionID
        {
            get;
            set;
        }

       [SQLite.Column("MissionName")]
 public string MissionName
        {
            get;
            set;
        }

       [SQLite.Column("Missiondescription")]
         public string Missiondescription
        {
            get;
            set;
        }
         [SQLite.Column("ShowID"), ConditionType("ShowID", "PrimaryCondition")]
        public int ShowID
        {
            get;
            set;
        }
      [SQLite.Column("Walkthrough")]
        public string Walkthrough
        {
            get;
            set;
        }

        [XmlIgnore(),SQLite.Ignore]
        public ImageSource Image
        {
            get;
            set;
        }
        [XmlIgnore(),SQLite.Ignore]
        public string Walkthroughtitle
        {
            get;
            set;
        }
    }
}
